package com.slipper.system.codeless.bo;

import java.util.ArrayList;
import java.util.List;

import com.slipper.common.bo.CommonBO;

/**
 * 数据表单信息表
 */
public class DataFormBO extends CommonBO {
    /* 主键ID */
    private String id;
    /* 主键ID */
    private String[] ids;
    /* 模型ID */
    private String modelId;
    private String[] modelIds;
    /* 名称 */
    private String name;
    /* 布局方式： 1、自动 2、自定义 */
    private String layoutType;
    /* 显示方式：标签、分割线、普通 */
    private String showModel;
    /* 分割线样式 */
    private String dividerStyle;
    /* 分割线内容位置 */
    private String dividerPosition;
    /* 是否批量编辑 */
    private String batchEdit;
    private String showOperateButton;
    private String required;
    /* 初始化数据脚本ID */
    private String initScriptId;
    /* 自定义json */
    private String customJson;
    /* 脚本内容 */
    private String scriptContent;
    /* 提示信息位置： 顶部、底部 */
    private String tipsPosition;
    /* 提示信息来源： 输入、脚本 */
    private String tipsOrigin;
    /* 提示来源内容 */
    private String tipsHtml;
    /* 提示来源脚本ID */
    private String tipsScriptId;
    /* 默认表单 */
    private String defaultForm;
    /* 更新人ID */
    private String updateId;
    /* 更新时间 */
    private Long updateTime;
    /* 创建人ID */
    private String createId;
    /* 创建时间 */
    private Long createTime;

    private int ordinal;
    private List<DataFormModelBO> modelList = new ArrayList<>();
    private List<DataFormAutofillBO> autofillList = new ArrayList<>();
    private List<DataFormDisplayBO> displayList = new ArrayList<>();

    public void setId(String id) {
        this.id = id;
    }
    
    public String getId() {
        return id;
    }

    public void setIds(String[] ids) {
        this.ids = ids;
    }
    
    public String[] getIds() {
        return ids;
    }

    public void setModelId(String modelId) {
        this.modelId = modelId;
    }
    
    public String getModelId() {
        return modelId;
    }

    public String[] getModelIds() {
        return modelIds;
    }

    public void setModelIds(String[] modelIds) {
        this.modelIds = modelIds;
    }

    public void setName(String name) {
        this.name = name;
    }
    
    public String getName() {
        return name;
    }

    public void setLayoutType(String layoutType) {
        this.layoutType = layoutType;
    }
    
    public String getLayoutType() {
        return layoutType;
    }

    public String getShowModel() {
        return showModel;
    }

    public void setShowModel(String showModel) {
        this.showModel = showModel;
    }

    public String getDividerStyle() {
        return dividerStyle;
    }

    public void setDividerStyle(String dividerStyle) {
        this.dividerStyle = dividerStyle;
    }

    public String getDividerPosition() {
        return dividerPosition;
    }

    public void setDividerPosition(String dividerPosition) {
        this.dividerPosition = dividerPosition;
    }

    public String getBatchEdit() {
        return batchEdit;
    }

    public void setBatchEdit(String batchEdit) {
        this.batchEdit = batchEdit;
    }

    public String getShowOperateButton() {
        return showOperateButton;
    }

    public void setShowOperateButton(String showOperateButton) {
        this.showOperateButton = showOperateButton;
    }

    public String getRequired() {
        return required;
    }

    public void setRequired(String required) {
        this.required = required;
    }

    public String getCustomJson() {
        return customJson;
    }

    public void setCustomJson(String customJson) {
        this.customJson = customJson;
    }

    public String getScriptContent() {
        return scriptContent;
    }

    public void setScriptContent(String scriptContent) {
        this.scriptContent = scriptContent;
    }

    public void setInitScriptId(String initScriptId) {
        this.initScriptId = initScriptId;
    }
    
    public String getInitScriptId() {
        return initScriptId;
    }

    public void setTipsPosition(String tipsPosition) {
        this.tipsPosition = tipsPosition;
    }
    
    public String getTipsPosition() {
        return tipsPosition;
    }

    public void setTipsOrigin(String tipsOrigin) {
        this.tipsOrigin = tipsOrigin;
    }
    
    public String getTipsOrigin() {
        return tipsOrigin;
    }

    public void setTipsHtml(String tipsHtml) {
        this.tipsHtml = tipsHtml;
    }
    
    public String getTipsHtml() {
        return tipsHtml;
    }

    public void setTipsScriptId(String tipsScriptId) {
        this.tipsScriptId = tipsScriptId;
    }
    
    public String getTipsScriptId() {
        return tipsScriptId;
    }

    public String getDefaultForm() {
        return defaultForm;
    }

    public void setDefaultForm(String defaultForm) {
        this.defaultForm = defaultForm;
    }

    public void setUpdateId(String updateId) {
        this.updateId = updateId;
    }
    
    public String getUpdateId() {
        return updateId;
    }

    public void setUpdateTime(Long updateTime) {
        this.updateTime = updateTime;
    }
    
    public Long getUpdateTime() {
        return updateTime;
    }

    public void setCreateId(String createId) {
        this.createId = createId;
    }
    
    public String getCreateId() {
        return createId;
    }

    public void setCreateTime(Long createTime) {
        this.createTime = createTime;
    }
    
    public Long getCreateTime() {
        return createTime;
    }

    public int getOrdinal() {
        return ordinal;
    }

    public void setOrdinal(int ordinal) {
        this.ordinal = ordinal;
    }

    public List<DataFormModelBO> getModelList() {
        return modelList;
    }

    public void setModelList(List<DataFormModelBO> modelList) {
        this.modelList = modelList;
    }

    public List<DataFormAutofillBO> getAutofillList() {
        return autofillList;
    }

    public void setAutofillList(List<DataFormAutofillBO> autofillList) {
        this.autofillList = autofillList;
    }

    public List<DataFormDisplayBO> getDisplayList() {
        return displayList;
    }

    public void setDisplayList(List<DataFormDisplayBO> displayList) {
        this.displayList = displayList;
    }
}
